<template>
  <div class="excellence-home" v-if="html" v-html="html">
  </div>
</template>
<script>
export default {
  name: 'association',
  data () {
    return {
      html: '',
      id: ''
    }
  },
  components: {
  },
  watch: {
    $route (to, from) {
      this.init()
    }
  },
  computed: {
  },
  created () {
    this.init()
  },
  methods: {
    init () {
      this.id = this.$route.params.id
      this.getNewTitles()
    },
    getNewTitles () {
      this.$http.showArticle({}, this.id).then(res => {
        this.html = res.data[0].content
      })
    }
  }
}
</script>
<style lang="scss">
</style>
